Accusoft.ImagXpress13.ActiveX
Enable Exceptions

Set the RaiseExceptions property to enable or disable raising exceptions when an error is encountered. 

Even if RaiseExceptions is set to False, the ImagError  property (read-only) can be queried to determine if an error has occurred, or DisplayError can be set to True, to enable the error to display on the screen when raised. 

VB Example
Copy Code
' Display an error
ImagXpress1.FileName = "c:\Images\Test.jpg"
IErr = ImagXpress1.ImagError
If IErr<>0 Then
     MsgBox("Load Failed: Error #" & IErr)
End If 
See Also

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback